<div class="row-fluid">
	<div class="span12">
		{{view App.HeaderView}}
		<div class="runContaner row-fluid">
			<div class="new">				
				{{#linkTo "forms.new"}}Create{{/linkTo}}
			</div>
			<table class="table table-bordered">
				<tr class="header">
				    <th>NO.</td>
				    <th>Headline</td>
				    <th>UpdateTime</td>
				    <th>Action</td>
				</tr>
				{{#each form in content.forms}}
					<tr>
					    <td>{{form.num}}</td>
					    <td>{{form.headline}}</td>
					    <td>{{form.updateTime}}</td>
					    <td>
					    	<a href="#" {{action pushForm form}}>Push<a/> &nbsp;&nbsp;
					    </td>
					</tr>
				{{/each}}
			</table>
		</div>
		<div class="runContaner row-fluid">
			<div class="span7">
				<ul class="section-list">
					<li>
					 	<div>You may use below URL or QrCode to join the session:</div>
					</li>
				</ul>
				<div id="cometdMsg" class=" row-fluid">
					<div id="formReport" class="row-fluid">
						{{view App.CanvasView elementId="chart_canvas_view"}}
					</div>
				</div>
			</div>
			<div class="span5">
				<ul class="section-list">
					<li>
					 	<div>You may use below URL or QrCode to join the session:</div>
					 	<br/>
					    <div>
							<div>
								<input id="displayUrl" readonly="readonly"
					        		value='{{sessionPath content.app.id}}'>
					        </div>
					        <div>
					        	<a href='{{sessionPath content.app.id}}' target="_blank">Open URL to join</a>
					    	</div>
					    </div>
					    <br/>
						<div>
							<div class="qrcode" style="height: 300px; width: 300px; background-position:-50px -50px; background-image:url({{fullPath "web" ""}}{{unbound content.app.runQrCode}}); " >
							</div>
					        <div>
					        	<a href='{{fullPath "web" ""}}{{unbound content.app.runQrCode}}' target="_blank">Show QrCode in new window</a>
							</div>
						</div>
					</li>
				</ul>			
			</div>
	</div>
</div>
